.wx-alert {
  position: fixed;
  width: 100%;
  top: 16px;
  left: 0;
  text-align: center;
  pointer-events: none;

  &__main {
    padding: 10px;
    font-size: 12px;
    &__content {
      display: inline-block;
      padding: 8px 16px;
      background: #fff;
      border-radius: 3px;
      box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
      margin-bottom: 8px;
    }
    &__content__info {
      background: #F0FAFF;
      color: #2E8BF0;
    }
    &__content__success {
      background: #EDFFF3;
      color: #19BF6C;
    }
    &__content__warning {
      background: #FFF9E6;
      color: #FF9900;
    }
    &__content__error {
      background: #FFEFE6;
      color: #ED4014;
    }
  }
}